﻿<command:command
xmlns:maml="http://schemas.microsoft.com/maml/2004/10"
xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10"
xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  <command:details>
    <command:name>Get-SPListItem</command:name>
    <command:verb>Get</command:verb>
    <command:noun>SPListItem</command:noun>
    <maml:description>
      <maml:para>Fetches the list item with the specified ID</maml:para>
    </maml:description>
  </command:details>
  <maml:description>
    <maml:para>This command will return the values of the fields of the list item with the specified ID, List and site URL.Additional fields could be specified using the Properties attribute</maml:para>
  </maml:description>


  <command:returnValues>
    <!--Add return value information here-->
  </command:returnValues>
  <maml:alertSet>
    <!--Add Note information here-->
  </maml:alertSet>
  <command:examples>
    <!--Add cmdlet examples here-->
    <command:example>
      <maml:title>---------- EXAMPLE 1 ----------</maml:title>
      <maml:Introduction>
        <maml:paragraph>Fetch the Title and Modified properties of a Task list item</maml:paragraph>
      </maml:Introduction>
      <dev:code>get-splistitem -url http://server/sites/sitea/siteb -list Tasks -properties Title,Modified -id 10</dev:code>
      <dev:remarks>
        <maml:para> </maml:para>
      </dev:remarks>
    </command:example>
    <command:example>
      <maml:title>---------- EXAMPLE 2 ----------</maml:title>
      <maml:Introduction>
        <maml:paragraph>Fetch the Title and Modified properties of a Task list item. Get dates in UTC format</maml:paragraph>
      </maml:Introduction>
      <dev:code>get-splistitem -url http://server/sites/siteA/siteB -list Tasks -properties Title,Modified -id 10 -DatesInUtc $true</dev:code>
      <dev:remarks>
        <maml:para> </maml:para>
      </dev:remarks>
    </command:example>
  </command:examples>
  <maml:relatedLinks>
    <!--Add links to related content here-->
  </maml:relatedLinks>
</command:command>
